# web端子路由
from django.contrib import admin
from django.urls import path, include

from pet_web.views import index

urlpatterns = [
    path('', index.index, name="index"),
    path('login', index.login, name="web_login"),
    path('dologin', index.dologin, name="web_dologin"),  # 执行登陆
    path('logout', index.login, name="web_logout"),  # 退出登陆
    path('verify', index.verify, name="web_verify"),  # 输出验证码



    # 为url路由添加前缀pet_web,带有前缀的路由只有登陆才能访问
    path('pet_web', include([
        path('', index.web_index, name="web_index"),
    ]))
]
